<template>
	<view class="bi-dataset-item">
		<view class="bi-dataset-item__label">{{ label }}</view>
		<view class="bi-dataset-item__target">
			<slot></slot>
		</view>
	</view>
</template>

<script>
export default {
	name: 'BiDatasetItem',
	props: {
		label: {
			type: String
		}
	}
}
</script>

<style lang="less">
.bi-dataset-item{
	display: flex;
	flex-direction: row;
	line-height: 1.7em;
}
.bi-dataset-item__label{
	color: #666;
	&:after {
		content: '：';
	}
}
</style>